package com.lyf.shop.dao;

import com.lyf.shop.entity.Type;
import com.lyf.shop.util.StrUtils;

import java.sql.SQLException;
import java.util.List;

public interface TypeDao {
    List<Type> getAll() throws SQLException;

    List<Type> getAllByKey(String tname) throws SQLException;

    int addType(String tname,String tinfo) throws SQLException;
}
